package com.bzyd.shiro.bean;

import com.bzyd.shiro.entity.Menu;
import com.bzyd.shiro.entity.Role;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

/**
 * 登录用户信息
 */
@Data
@Accessors(chain = true)
public class ShiroUser<T> implements Serializable {
    private static final long serialVersionUID=1L;

    private T userInfo;

    private List<Role> roles;

    private List<Menu> menus;
}
